package net.esj.basic.dao.jdbc.jpa.mysql;

import net.esj.basic.dao.jdbc.jpa.Query;
import net.esj.basic.dao.jdbc.jpa.support.SessionSupport;

public class SessionImpl extends SessionSupport{

	public Query createQuery(String sql) {
		Query q = new QueryImpl(sql);
		q.setSession(this);
		return q;
	}
	protected String columnNameWrap(String colName){
		return '`'+colName+'`';
	}
	protected String tableNameWrap(String tableName){
		return '`'+tableName+'`';
	}
}
